﻿using AutoMapper;
using BCDto.TMS.FreightContact;
using BCEntity.TMS.FreightContact;

namespace BCService.MapperProfiles.TMS.FreightContact
{
    public class FreightContactProfile : Profile
    {
        public FreightContactProfile()
        {
            CreateMap<FreightContactEntity, FreightContactDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<FreightContactDto, FreightContactEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<FreightContactRequestDto, FreightContactEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();

        }
    }
}
